<template>  
 <view >
	 <u-navbar  :safeAreaInsetTop="true">
	   <template v-slot:left style="display: flex;">  
	     <image src="../../static/img/map-pin.png" style="height: 45rpx; width: 45rpx;"></image>  
	     <text class="navbar-title">涟源市娄星区</text>  
	   </template>  
	 </u-navbar>  
 </view>
</template>  

<script>  
export default {  
  name: "TopNav",  
}  
</script>  

<style lang="scss" scoped>  
.navbar-title {  
  position: relative;
  width: 100%;
  top: -10rpx;
  font-size: 30rpx; /* 标题的样式 */  
  color: #333; /* 标题的颜色 */  
  margin-left: 20rpx; /* 分隔图标和标题 */  
  font-weight: 800;
} 

</style>